Skip to content

fix(dialog): Remove the incorrect descendant element #3125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Thejashwini123
Copy link

@Thejashwini123 Thejashwini123 commented Apr 2, 2025

closes : #3126

Violation : The element with role "button" contains descendants with roles "dialog" which are ignored by browsers

Before
accessibility-violation

After
after

Issue : The accessibility violation occurs because aria-owns moves the dialog inside the button in the accessibility tree, which is not valid for a button element.

Carbon version : 5.57.1

@Thejashwini123 Thejashwini123 requested a review from a team as a code owner April 2, 2025 08:25
Copy link

github-actions bot commented Apr 2, 2025

DCO Assistant Lite bot All contributors have signed the DCO.

Copy link

netlify bot commented Apr 2, 2025

Deploy Preview for carbon-components-angular ready!

Name Link
🔨 Latest commit 73ddbd7
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-angular/deploys/6821a82e03e57900082eb89b
😎 Deploy Preview https://deploy-preview-3125--carbon-components-angular.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Thejashwini123
Copy link
Author

I have read the DCO document and I hereby sign the DCO.

@Thejashwini123
Copy link
Author

recheck

@Thejashwini123 Thejashwini123 force-pushed the fix-accessibility-violation-button branch from decee9c to 42ed562 Compare May 12, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant